package com.chart.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.chart.common.core.domain.BaseEntity;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 用户金币获取记录
 *
 * @author 罗继全
 * 2024/7/13 12:00
 */
@Data
public class UserCoinLog extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long logId;
    private Long userId;


    private String action;

    @TableField(exist = false)
    private String actionInfo;

    private int coins;
    private LocalDateTime createdAt; // 不设置默认值，在插入时手动设置
    private String behavior;

    private Integer number;

    private Long operationTotal;

    private Integer supplement;

    private Integer aiSelfProduce;

    private Integer save;

    private Integer export;


    private Long configsUserId;

    @TableField(exist = false)
    private String configName;

    private Integer seatCount;

    private String  remark;

    @TableField(exist = false)
    private String  phonenumber;

}
